-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Add CLI examples for translate-text and list-languages commands #9785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
- Add translate-text example showing basic translation and auto-detection - Add list-languages example showing supported languages listing - Improves documentation coverage for AWS Translate service
|
Hi, Could someone please review the PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @sushilk123, I only have a few requested changes. After you update your examples, commit and push to this PR. Then we should be good for maintainer review.
| @@ -0,0 +1,62 @@ | |||
| **To list supported languages** | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| **To list supported languages** | |
| **Example 1: To list supported languages** |
| ] | ||
| } | ||
|
|
||
| **To list languages with a specific display language** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| **To list languages with a specific display language** | |
| **Example 2: To list languages with a specific display language** |
| } | ||
| ] | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please provide a "For more information" link for every example in this request. See format in the contribution guide: aws.github.io/aws-cli/docs_styleguide.html#for-more-information-link
| "LanguageCode": "am" | ||
| } | ||
| ] | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please provide a "For more information" link for every example in this request. See format in the contribution guide: aws.github.io/aws-cli/docs_styleguide.html#for-more-information-link
| "SourceLanguageCode": "en", | ||
| "TargetLanguageCode": "es" | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please provide a "For more information" link for every example in this request. See format in the contribution guide: aws.github.io/aws-cli/docs_styleguide.html#for-more-information-link
| "TranslatedText": "Bonjour", | ||
| "SourceLanguageCode": "en", | ||
| "TargetLanguageCode": "fr" | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please provide a "For more information" link for every example in this request. See format in the contribution guide: aws.github.io/aws-cli/docs_styleguide.html#for-more-information-link
| @@ -0,0 +1,33 @@ | |||
| **To translate text from one language to another** | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| **To translate text from one language to another** | |
| **Example 1: To translate text from one language to another** |
| "TargetLanguageCode": "es" | ||
| } | ||
|
|
||
| **To translate text with auto-detection of source language** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| **To translate text with auto-detection of source language** | |
| **Example 2: To translate text with auto-detection of source language** |
Description
Adds missing CLI examples for AWS Translate service commands to improve documentation coverage.
Changes
Testing
Examples follow existing AWS CLI documentation format and provide realistic use cases for common translation workflows including basic text translation and language discovery.